package com.insurance.service;

import java.util.List;

import com.insurance.bean.Agent;


public interface AgentService {

	public void save(Agent agent);

	public void update(Agent agent);

	public Agent getAgent(Integer agentid);
	
	public Agent getAgentByUserName(String userName);

	public void delete(Integer agentid);

	public List<Agent> getAgents();
	
	public List<Agent> getAgentsChecked();
	
	public List<Agent> getAgentsUnChecked();
	
	public Agent verifyAgent(Agent agent);

	public List<Agent> searchAgent(Agent agent);
	
	public String verifyUserName(String userName);
	
	public List<Agent> getAgentsCheckedTop10();
	
	public List<Agent> getAgentsCheckedTop5();
}